<extend name="Public:base" />
<block name="main">
<div class="formRight">
	{:b_form_header('添加权限')}
	<div class="control-group">
		<label for="typeahead" class="control-label">权限名称</label>
		<div class="controls">
			<input type="text" class="" value="{$auth_name}" name="auth_name"
				id="auth_name">
			<p class="help-block">*不能为空</p>
		</div>
	</div>

	<div class="control-group">
		<label for="typeahead" class="control-label">权限父级</label>
		<div class="controls">
			<select class="" id="pid" name="auth_pid">
				<option value="0">==请选择==</option>
				<volist name="auth_pid" id="vo">

				<option value="{$vo.auth_id}"<if
						condition="$vo.auth_id eq $auth_pid1"> selected="selected" </if>>{$vo.auth_name}
				</option>
				</volist>

			</select>

		</div>
	</div>
	<div class="control-group">
		<label for="typeahead" class="control-label">后台名称</label>
		<div class="controls">
			<input type="text" class="" value="{$admin_name}" name="admin_name"
				id="admin_name">
			<p class="help-block">*不能为空</p>
		</div>
	</div>

	<div class="control-group">
		<label for="typeahead" class="control-label">权限控制器</label>
		<div class="controls">
			<input type="text" class="" value="{$auth_c}" name="auth_c"
				id="auth_c">
			<p class="help-block">*不能为空</p>
		</div>
	</div>

	<div class="control-group">
		<label for="typeahead" class="control-label">权限操作方法</label>
		<div class="controls">
			<input type="text" class="" value="{$auth_a}" name="auth_a"
				id="auth_a">
			<p class="help-block">*不能为空</p>
		</div>
	</div>
	
	<div class="control-group">
		<label for="typeahead" class="control-label">权限级别</label>
		<div class="controls">
			<input type="text" class="" value="{$auth_level}" name="auth_level"
				id="auth_level">
			<p class="help-block">*例如0,1,2,3不能为空</p>
		</div>
	</div>
	<input type='hidden' name="auth_id" value="{$auth_id}" />
	{:b_form_footer()}
</div>
</block>